//
//  MapButton.m
//  YunGui
//
//  Created by HanenDev on 16/4/7.
//  Copyright © 2016年 hanen. All rights reserved.
//

#import "MapButton.h"

@implementation MapButton

- (CGRect)imageRectForContentRect:(CGRect)contentRect{
    
    CGFloat W = 30;
    
    return CGRectMake(5 , 10, W , W);
    
}

- (CGRect)titleRectForContentRect:(CGRect)contentRect{
    
    CGFloat W = contentRect.size.width - 30;
    CGFloat H = contentRect.size.height-2*15;
    return CGRectMake(35 + 3, 15, W, H);
}

@end
